package com.myapp.ruyixing.http;

import org.json.JSONObject;

import com.myapp.ruyixing.model.ShopRemark;
import com.myapp.ruyixing.model.ShopSignin;

public class ShopSigninParser extends RYJSONParser {

	@Override
	public Object parse(JSONObject jsonObject) {
		if (getErrno(jsonObject) != NO_ERROR) {
			return null;
		}

		ShopSignin o = new ShopSignin();

		JSONObject data = jsonObject.optJSONObject("data");
		if (data != null) {
			o = loadByGson(data, ShopSignin.class);
		}

		return o;
	}
}
